{extend name="main/index" /}
{block name="main"}

<div class="content-page">
    <div class="content">

        <li>
            <i class="icon-home home-icon"></i>
            <a href="#">首页</a>
        </li>
        <li class="active">用户管理</li>
        <h1>
            用户管理
            <small>
                <i class="icon-double-angle-right"></i>
                分配权限
            </small>
        </h1>
        <div class="row">
            <div class="col-md-12">
                <p>
                    给 <b></b> 分配权限
                </p>

                <form action="{:url('admin/Role/donodelist')}" method='post'>
                    <p style="width:600px">
                        {volist name="list" id="v"}
                        <input type="checkbox" name="nodes[]"  value="{$v.id}" {in name="$v['name']" value="$nodes"}checked{/in}>{$v['name']}
                        {/volist}
                    </p>
                    <input type="hidden" name="rid" value="{$id}">
                    <input type="submit" value="保存" class="btn btn-primary">

                </form>

            </div>
        </div>
    </div>
</div>

{/block}